﻿using System;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Inputs
{
    /// <summary>
    /// 工艺段设备规范参数模型
    /// </summary>
    [DataContract]
    public struct SegmentEquipmentRuleParam
    {
        /// <summary>
        /// 设备类Id
        /// </summary>
        [DataMember]
        public Guid? equipmentClassId;

        /// <summary>
        /// 设备Id
        /// </summary>
        [DataMember]
        public Guid? equipmentId;

        /// <summary>
        /// 设备用途
        /// </summary>
        [DataMember]
        public string equipmentUse;

        /// <summary>
        /// 数量
        /// </summary>
        [DataMember]
        public decimal? quantity;

        /// <summary>
        /// 工厂模型Id
        /// </summary>
        [DataMember]
        public Guid? facilityId;

        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public int sort;

        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string description;
    }
}
